import http from './httpRequest'


export const reqDict = (data) => http.httpRequest('/api/dictionary/list', data,'GET')

export const reqAddDict = (data) => http.httpRequest('/api/dictionary/save', data,'POST')

export const reqDictfindById = (data) => http.httpRequest('/api/dictionary/findById/', data,'GET')

export const reqUpdateDict = (data) => http.httpRequest('/api/dictionary/update', data,'POST')

export const reqDeleteDict = (data) => http.httpRequest('/api/dictionary/delete', data,'DELETE')